package com.xzy.shop.service.impl;

import com.xzy.shop.dao.CartDao;
import com.xzy.shop.dao.impl.CartDaoImpl;
import com.xzy.shop.domain.Cart;
import com.xzy.shop.service.CartService;

import java.util.List;

public class CartServiceImpl implements CartService {
    CartDao dao = new CartDaoImpl();
    @Override
    public List<Cart> findGidByUid(String uid) {
        return dao.findGidByUid(uid);
    }

    @Override
    public List<Cart> findAllByUid(String uid) {
        return dao.findAllByUid(uid);
    }
}
